package com.ruoyi.common.core.domain.business.waterPrice;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 机构缴费流水账对象 wi_orgbook_r
 * 
 * @author ps
 * @date 2023-02-17
 */
@Data
@TableName("wi_orgbook_r")
public class WiOrgbookR extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 水费年度 */
    private String feeYr;

    /** 农户代码 */
    private String orgCd;

    /** 本地笔数 */
    @Excel(name = "本地笔数")
    private Long cashNo;

    /** 是否成功 */
    @Excel(name = "是否成功")
    private String isOk;

    /** 总应收水费 */
    @Excel(name = "总应收水费")
    private BigDecimal totalFee;

    /** 当前应收水费 */
    @Excel(name = "当前应收水费")
    private BigDecimal curFee;

    /** 实收水费 */
    @Excel(name = "实收水费")
    private BigDecimal payFee;

    /** 缴后欠缴 */
    @Excel(name = "缴后欠缴")
    private BigDecimal saveFee;

    /** 缴费凭证张数 */
    @Excel(name = "缴费凭证张数")
    private Long cashNum;

    /** 收费人 */
    @Excel(name = "收费人")
    private String operId;

    /** 收费时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收费时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payTime;

    /** 记录人 */
    @Excel(name = "记录人")
    private String writeOper;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date writeTime;

    /** 备注 */
    @Excel(name = "备注")
    private String bookMark;

    public void setFeeYr(String feeYr) 
    {
        this.feeYr = feeYr;
    }

    public String getFeeYr() 
    {
        return feeYr;
    }
    public void setOrgCd(String orgCd) 
    {
        this.orgCd = orgCd;
    }

    public String getOrgCd() 
    {
        return orgCd;
    }
    public void setCashNo(Long cashNo) 
    {
        this.cashNo = cashNo;
    }

    public Long getCashNo() 
    {
        return cashNo;
    }
    public void setIsOk(String isOk) 
    {
        this.isOk = isOk;
    }

    public String getIsOk() 
    {
        return isOk;
    }
    public void setTotalFee(BigDecimal totalFee)
    {
        this.totalFee = totalFee;
    }

    public BigDecimal getTotalFee()
    {
        return totalFee;
    }
    public void setCurFee(BigDecimal curFee)
    {
        this.curFee = curFee;
    }

    public BigDecimal getCurFee()
    {
        return curFee;
    }
    public void setPayFee(BigDecimal payFee)
    {
        this.payFee = payFee;
    }

    public BigDecimal getPayFee()
    {
        return payFee;
    }
    public void setSaveFee(BigDecimal saveFee)
    {
        this.saveFee = saveFee;
    }

    public BigDecimal getSaveFee()
    {
        return saveFee;
    }
    public void setCashNum(Long cashNum) 
    {
        this.cashNum = cashNum;
    }

    public Long getCashNum() 
    {
        return cashNum;
    }
    public void setOperId(String operId) 
    {
        this.operId = operId;
    }

    public String getOperId() 
    {
        return operId;
    }
    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }
    public void setWriteOper(String writeOper) 
    {
        this.writeOper = writeOper;
    }

    public String getWriteOper() 
    {
        return writeOper;
    }
    public void setWriteTime(Date writeTime) 
    {
        this.writeTime = writeTime;
    }

    public Date getWriteTime() 
    {
        return writeTime;
    }
    public void setBookMark(String bookMark) 
    {
        this.bookMark = bookMark;
    }

    public String getBookMark() 
    {
        return bookMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("feeYr", getFeeYr())
            .append("orgCd", getOrgCd())
            .append("cashNo", getCashNo())
            .append("isOk", getIsOk())
            .append("totalFee", getTotalFee())
            .append("curFee", getCurFee())
            .append("payFee", getPayFee())
            .append("saveFee", getSaveFee())
            .append("cashNum", getCashNum())
            .append("operId", getOperId())
            .append("payTime", getPayTime())
            .append("writeOper", getWriteOper())
            .append("writeTime", getWriteTime())
            .append("bookMark", getBookMark())
            .toString();
    }
}
